package com.ruoyi.cmelasercladding.service.impl;

import com.ruoyi.cmelasercladding.domain.ZsCladdingUrl;
import com.ruoyi.cmelasercladding.mapper.ZsCladdingUrlMapper;
import com.ruoyi.cmelasercladding.service.IZsCladdingUrlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * cmelasercladdingService业务层处理
 * 
 * @author zousong
 * @date 2022-03-10
 */
@Service
public class ZsCladdingUrlServiceImpl implements IZsCladdingUrlService 
{
    @Autowired
    private ZsCladdingUrlMapper zsCladdingUrlMapper;

    /**
     * 查询cmelasercladding
     * 
     * @param id cmelasercladding主键
     * @return cmelasercladding
     */
    @Override
    public ZsCladdingUrl selectZsCladdingUrlById(Long id)
    {
        return zsCladdingUrlMapper.selectZsCladdingUrlById(id);
    }

    /**
     * 查询cmelasercladding列表
     * 
     * @param zsCladdingUrl cmelasercladding
     * @return cmelasercladding
     */
    @Override
    public List<ZsCladdingUrl> selectZsCladdingUrlList(ZsCladdingUrl zsCladdingUrl)
    {
        return zsCladdingUrlMapper.selectZsCladdingUrlList(zsCladdingUrl);
    }

    /**
     * 新增cmelasercladding
     * 
     * @param zsCladdingUrl cmelasercladding
     * @return 结果
     */
    @Override
    public int insertZsCladdingUrl(ZsCladdingUrl zsCladdingUrl)
    {
        return zsCladdingUrlMapper.insertZsCladdingUrl(zsCladdingUrl);
    }

    /**
     * 修改cmelasercladding
     * 
     * @param zsCladdingUrl cmelasercladding
     * @return 结果
     */
    @Override
    public int updateZsCladdingUrl(ZsCladdingUrl zsCladdingUrl)
    {
        return zsCladdingUrlMapper.updateZsCladdingUrl(zsCladdingUrl);
    }

    /**
     * 批量删除cmelasercladding
     * 
     * @param ids 需要删除的cmelasercladding主键
     * @return 结果
     */
    @Override
    public int deleteZsCladdingUrlByIds(Long[] ids)
    {
        return zsCladdingUrlMapper.deleteZsCladdingUrlByIds(ids);
    }

    /**
     * 删除cmelasercladding信息
     * 
     * @param id cmelasercladding主键
     * @return 结果
     */
    @Override
    public int deleteZsCladdingUrlById(Long id)
    {
        return zsCladdingUrlMapper.deleteZsCladdingUrlById(id);
    }
}
